package com.yang.biz.modular.post.param;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 设备注册参数
 *
 * @author: yangjianzhi
 * @version1.0
 */
@Getter
@Setter
public class InstrumentRegisterParam {

    private String name;
    private int dataType;
    private List<TableMeasure> tableMeasures;

    @Getter
    @Setter
    public static class TableMeasure {
        private String tableName;
        private int pushedIndex;
        private List<MeasureMeta> measureMetas;
    }

    @Getter
    @Setter
    public static class MeasureMeta {
        private String measureCode;
        private String measureName;
        private String measureType;
        private String measureUnit;
    }
}
